/// id : 14
/// name : "广告"
/// alias : null
/// description : "为广告人的精彩创意点赞"
/// bgPicture : "http://img.kaiyanapp.com/57472e13fd2b6c9655c8a600597daf4d.png?imageMogr2/quality/60/format/jpg"
/// bgColor : ""
/// headerImage : "http://img.kaiyanapp.com/fc228d16638214b9803f46aabb4f75e0.png"
/// defaultAuthorId : 2162
/// tagId : 16
///

class FindClassIfCoationBean {
  int _id;
  String _name;
  dynamic _alias;
  String _description;
  String _bgPicture;
  String _bgColor;
  String _headerImage;
  int _defaultAuthorId;
  int _tagId;

  int get id => _id;
  String get name => _name;
  dynamic get alias => _alias;
  String get description => _description;
  String get bgPicture => _bgPicture;
  String get bgColor => _bgColor;
  String get headerImage => _headerImage;
  int get defaultAuthorId => _defaultAuthorId;
  int get tagId => _tagId;

  FindClassIfCoationBean({
      int id, 
      String name, 
      dynamic alias, 
      String description, 
      String bgPicture, 
      String bgColor, 
      String headerImage, 
      int defaultAuthorId, 
      int tagId}){
    _id = id;
    _name = name;
    _alias = alias;
    _description = description;
    _bgPicture = bgPicture;
    _bgColor = bgColor;
    _headerImage = headerImage;
    _defaultAuthorId = defaultAuthorId;
    _tagId = tagId;
}

  FindClassIfCoationBean.fromJson(dynamic json) {
    _id = json["id"];
    _name = json["name"];
    _alias = json["alias"];
    _description = json["description"];
    _bgPicture = json["bgPicture"];
    _bgColor = json["bgColor"];
    _headerImage = json["headerImage"];
    _defaultAuthorId = json["defaultAuthorId"];
    _tagId = json["tagId"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["id"] = _id;
    map["name"] = _name;
    map["alias"] = _alias;
    map["description"] = _description;
    map["bgPicture"] = _bgPicture;
    map["bgColor"] = _bgColor;
    map["headerImage"] = _headerImage;
    map["defaultAuthorId"] = _defaultAuthorId;
    map["tagId"] = _tagId;
    return map;
  }

}